package org.ezaero.jmimic.api.checker;

public class InvocationCallCheckException extends RuntimeException {

    private static final long serialVersionUID = -8645563806274911277L;
    
    private final String actualMethod;
    private final Object[] actualArgs;
    private final String expectedMethod;
    private final Object[] expectedArgs;

    public InvocationCallCheckException(String actualMethod, Object[] actualArgs, String expectedMethod, Object[] expectedArgs) {
        this.actualMethod = actualMethod;
        this.actualArgs = actualArgs;
        this.expectedMethod = expectedMethod;
        this.expectedArgs = expectedArgs;
    }

    public String getActualMethod() {
        return actualMethod;
    }

    public Object[] getActualArgs() {
        return actualArgs;
    }

    public String getExpectedMethod() {
        return expectedMethod;
    }

    public Object[] getExpectedArgs() {
        return expectedArgs;
    }

}
